<template>
  <el-dialog :append-to-body="true" :visible.sync="dialog" title="查看" width="800px">
    <img :src="qrCodeUrl" style="width: 100%">
  </el-dialog>
</template>

<script>
export default {
  components: { },
  data() {
    return {
      loading: false,
      dialog: false,
      qrCodeUrl: ''
    }
  },
  methods: {
    cancel() {
      this.resetForm()
    },
    resetForm() {
      this.dialog = false
      this.$refs['form'].resetFields()
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  /deep/ .el-input-number .el-input__inner {
    text-align: left;
  }

</style>
